<template>
  <div>
    <Form :label-width="0" :model="formInline">
      <FormItem label="" prop="passwd">
        <DatePicker type="datetime" placeholder="选择开始时间" :model="formInline.starTime"></DatePicker>
      </FormItem>
      <FormItem label="" prop="passwdCheck">
        <DatePicker type="datetime" placeholder="选择结束时间" :model="formInline.endTime"></DatePicker>
      </FormItem>
    </Form>
    <div style="text-align:right;">
        <Button type="primary">确定</Button>
    </div>
  </div>
</template>

<script>
export default {
    name:'TimeRange',
    data(){
        return{
            formInline:{
                starTime:'',
                endTime:''
            }
        }
    }
};
</script>

<style>
</style>